
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Welcome</title>
<link rel="stylesheet" type="text/css" href="__HOME_CSS__/newdsn/css/bet.css" />
<link rel="stylesheet" type="text/css" href="__HOME_CSS__/newdsn/css/modal.css" />
<link rel="stylesheet" type="text/css" href="__HOME_CSS__/newdsn/css/balls.css" />
<link rel="stylesheet" type="text/css" href="__HOME_CSS__/newdsn/css/g_KLSF.css" />
<script type="text/javascript" src="__HOME_JS__/js/jquery.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/libs.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/json2.js"></script>
<script type="text/javascript" src="__HOME_JS__/default/js/skin.js"></script>
<script type="text/javascript" src="__HOME_JS__/default/js/period.js"></script>
<script type="text/javascript" src="__HOME_JS__/default/js/bet.js"></script>
<script type="text/javascript" src="__HOME_JS__/default/js/results.js"></script>
<script type="text/javascript" src="__HOME_JS__/default/js/resultPanel.js"></script>
<script type="text/javascript" src="__HOME_JS__/default/js/pagemap.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/drawurls.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/defaultbet.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/rightpanel.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/modal.js"></script>
<script type="text/javascript">var lottery='XYNC';var lotteryName='重庆幸运农场';var lotteryType='8';var template='KLSF'</script>
<!--  -->
</head>
<body class="L_XYNC P_ball skin_gold">
<div id="main">
<div id="header">
<div class="lottery_info">
<div class="lottery_info_left floatleft"><span class="name" id="lotteryName">重庆幸运农场</span> &mdash; <span class="gameName" id="gameName"></span><span class="result">&nbsp;今日输赢：<span id="bresult">0</span></span></div>
<div class="lottery_info_right floatright"><span id="drawNumber"></span>期&nbsp;&nbsp;距离封盘：<span class="color_lv bold"><span id="cdClose"></span></span>&nbsp;&nbsp;距离开奖：<span class="color_lv bold"><span id="cdDraw"></span></span>
<span id="cdRefresh" style="float:right;width: 50px;"><span>加载中…</span></span>
</div>
<div class="clearfloat"></div>
</div>
<div class="control n_anniu">
<div class="buttons">
<label class="checkdefault"><input type="checkbox" class="checkbox"/><span class="color_lv bold">预设</span></label>&nbsp;&nbsp;<label class="quickAmount"><span class="color_lv bold">金额</span> <input /></label>
<input type="button" onclick="bet()" value="确定" class="button"/>
<input type="button" onclick="resetBets()" value="重置" class="button"/>
</div>
</div>
</div>

<div id="bet_panel" class="bet_panel input_panel">
<script type="text/javascript">
//var games='B1,DX1,DS1,WDX1,HDS1,FW1,ZFB1,LH1';
var games='<?php echo $games;?>';
$(function(){
  Results.init({
    '' : ['B{0}'],
    '大小' : ['DX{0}','dx'],
    '单双' : ['DS{0}','ds'],
    '尾数大小' : ['WDX{0}','dx'],
    '合数单双' : ['HDS{0}','ds'],
    '方位' : ['FW{0}','fw'],
    '中发白' : ['ZFB{0}','zfb'],
    '总和大小' : ['ZDX','dx'],
    '总和单双' : ['ZDS','ds'],
    '总尾大小' : ['ZWDX','dx']
  },1,20,['第一球','第二球','第三球','第四球','第五球','第六球','第七球','第八球'],1,true);
});
</script>
<table class="table_ball">
<tr class="head"><th>号码</th><th>赔率</th><th class="ha">金额</th><th>号码</th><th>赔率</th><th class="ha">金额</th><th>号码</th><th>赔率</th><th class="ha">金额</th><th>号码</th><th>赔率</th><th class="ha">金额</th></tr>
<tr>
<th class="GB{$num}_01 name" id="t_B{$num}_01" title="第{$num}球 01"><input type="hidden" id="k_B{$num}_01" value="BALL" /><span class="b01">01</span></th>

<td class="GB{$num}_01 odds" id="o_B{$num}_01"></td>
<td class="GB{$num}_01 amount ha"><input name="B{$num}_01" class="ba" /></td>

<th class="GB{$num}_06 name" id="t_B{$num}_06" title="第{$num}球 06"><input type="hidden" id="k_B{$num}_06" value="BALL" /><span class="b06">06</span></th>

<td class="GB{$num}_06 odds" id="o_B{$num}_06"></td>
<td class="GB{$num}_06 amount ha"><input name="B{$num}_06" class="ba" /></td>

<th class="GB{$num}_11 name" id="t_B{$num}_11" title="第{$num}球 11"><input type="hidden" id="k_B{$num}_11" value="BALL" /><span class="b11">11</span></th>

<td class="GB{$num}_11 odds" id="o_B{$num}_11"></td>
<td class="GB{$num}_11 amount ha"><input name="B{$num}_11" class="ba" /></td>

<th class="GB{$num}_16 name" id="t_B{$num}_16" title="第{$num}球 16"><input type="hidden" id="k_B{$num}_16" value="BALL" /><span class="b16">16</span></th>

<td class="GB{$num}_16 odds" id="o_B{$num}_16"></td>
<td class="GB{$num}_16 amount ha"><input name="B{$num}_16" class="ba" /></td>
</tr>
<tr>
<th class="GB{$num}_02 name" id="t_B{$num}_02" title="第{$num}球 02"><input type="hidden" id="k_B{$num}_02" value="BALL" /><span class="b02">02</span></th>

<td class="GB{$num}_02 odds" id="o_B{$num}_02"></td>
<td class="GB{$num}_02 amount ha"><input name="B{$num}_02" class="ba" /></td>

<th class="GB{$num}_07 name" id="t_B{$num}_07" title="第{$num}球 07"><input type="hidden" id="k_B{$num}_07" value="BALL" /><span class="b07">07</span></th>

<td class="GB{$num}_07 odds" id="o_B{$num}_07"></td>
<td class="GB{$num}_07 amount ha"><input name="B{$num}_07" class="ba" /></td>

<th class="GB{$num}_12 name" id="t_B{$num}_12" title="第{$num}球 12"><input type="hidden" id="k_B{$num}_12" value="BALL" /><span class="b12">12</span></th>

<td class="GB{$num}_12 odds" id="o_B{$num}_12"></td>
<td class="GB{$num}_12 amount ha"><input name="B{$num}_12" class="ba" /></td>

<th class="GB{$num}_17 name" id="t_B{$num}_17" title="第{$num}球 17"><input type="hidden" id="k_B{$num}_17" value="BALL" /><span class="b17">17</span></th>

<td class="GB{$num}_17 odds" id="o_B{$num}_17"></td>
<td class="GB{$num}_17 amount ha"><input name="B{$num}_17" class="ba" /></td>
</tr>
<tr>
<th class="GB{$num}_03 name" id="t_B{$num}_03" title="第{$num}球 03"><input type="hidden" id="k_B{$num}_03" value="BALL" /><span class="b03">03</span></th>

<td class="GB{$num}_03 odds" id="o_B{$num}_03"></td>
<td class="GB{$num}_03 amount ha"><input name="B{$num}_03" class="ba" /></td>

<th class="GB{$num}_08 name" id="t_B{$num}_08" title="第{$num}球 08"><input type="hidden" id="k_B{$num}_08" value="BALL" /><span class="b08">08</span></th>

<td class="GB{$num}_08 odds" id="o_B{$num}_08"></td>
<td class="GB{$num}_08 amount ha"><input name="B{$num}_08" class="ba" /></td>

<th class="GB{$num}_13 name" id="t_B{$num}_13" title="第{$num}球 13"><input type="hidden" id="k_B{$num}_13" value="BALL" /><span class="b13">13</span></th>

<td class="GB{$num}_13 odds" id="o_B{$num}_13"></td>
<td class="GB{$num}_13 amount ha"><input name="B{$num}_13" class="ba" /></td>

<th class="GB{$num}_18 name" id="t_B{$num}_18" title="第{$num}球 18"><input type="hidden" id="k_B{$num}_18" value="BALL" /><span class="b18">18</span></th>

<td class="GB{$num}_18 odds" id="o_B{$num}_18"></td>
<td class="GB{$num}_18 amount ha"><input name="B{$num}_18" class="ba" /></td>
</tr>
<tr>
<th class="GB{$num}_04 name" id="t_B{$num}_04" title="第{$num}球 04"><input type="hidden" id="k_B{$num}_04" value="BALL" /><span class="b04">04</span></th>

<td class="GB{$num}_04 odds" id="o_B{$num}_04"></td>
<td class="GB{$num}_04 amount ha"><input name="B{$num}_04" class="ba" /></td>

<th class="GB{$num}_09 name" id="t_B{$num}_09" title="第{$num}球 09"><input type="hidden" id="k_B{$num}_09" value="BALL" /><span class="b09">09</span></th>

<td class="GB{$num}_09 odds" id="o_B{$num}_09"></td>
<td class="GB{$num}_09 amount ha"><input name="B{$num}_09" class="ba" /></td>

<th class="GB{$num}_14 name" id="t_B{$num}_14" title="第{$num}球 14"><input type="hidden" id="k_B{$num}_14" value="BALL" /><span class="b14">14</span></th>

<td class="GB{$num}_14 odds" id="o_B{$num}_14"></td>
<td class="GB{$num}_14 amount ha"><input name="B{$num}_14" class="ba" /></td>

<th class="GB{$num}_19 name" id="t_B{$num}_19" title="第{$num}球 19"><input type="hidden" id="k_B{$num}_19" value="BALL" /><span class="b19">19</span></th>

<td class="GB{$num}_19 odds" id="o_B{$num}_19"></td>
<td class="GB{$num}_19 amount ha"><input name="B{$num}_19" class="ba" /></td>
</tr>
<tr>
<th class="GB{$num}_05 name" id="t_B{$num}_05" title="第{$num}球 05"><input type="hidden" id="k_B{$num}_05" value="BALL" /><span class="b05">05</span></th>

<td class="GB{$num}_05 odds" id="o_B{$num}_05"></td>
<td class="GB{$num}_05 amount ha"><input name="B{$num}_05" class="ba" /></td>

<th class="GB{$num}_10 name" id="t_B{$num}_10" title="第{$num}球 10"><input type="hidden" id="k_B{$num}_10" value="BALL" /><span class="b10">10</span></th>

<td class="GB{$num}_10 odds" id="o_B{$num}_10"></td>
<td class="GB{$num}_10 amount ha"><input name="B{$num}_10" class="ba" /></td>

<th class="GB{$num}_15 name" id="t_B{$num}_15" title="第{$num}球 15"><input type="hidden" id="k_B{$num}_15" value="BALL" /><span class="b15">15</span></th>

<td class="GB{$num}_15 odds" id="o_B{$num}_15"></td>
<td class="GB{$num}_15 amount ha"><input name="B{$num}_15" class="ba" /></td>

<th class="GB{$num}_20 name" id="t_B{$num}_20" title="第{$num}球 20"><input type="hidden" id="k_B{$num}_20" value="BALL" /><span class="b20">20</span></th>

<td class="GB{$num}_20 odds" id="o_B{$num}_20"></td>
<td class="GB{$num}_20 amount ha"><input name="B{$num}_20" class="ba" /></td>
</tr>
<tr>
<th class="GDX{$num}_D name" id="t_DX{$num}_D" title="第{$num}球 大"><input type="hidden" id="k_DX{$num}_D" value="DX" />大</th>

<td class="GDX{$num}_D odds" id="o_DX{$num}_D"></td>
<td class="GDX{$num}_D amount ha"><input name="DX{$num}_D" class="ba" /></td>
<th class="GDS{$num}_D name" id="t_DS{$num}_D" title="第{$num}球 单"><input type="hidden" id="k_DS{$num}_D" value="DS" />单</th>

<td class="GDS{$num}_D odds" id="o_DS{$num}_D"></td>
<td class="GDS{$num}_D amount ha"><input name="DS{$num}_D" class="ba" /></td>
<th class="GWDX{$num}_D name" id="t_WDX{$num}_D" title="第{$num}球 尾大"><input type="hidden" id="k_WDX{$num}_D" value="WDX" />尾大</th>

<td class="GWDX{$num}_D odds" id="o_WDX{$num}_D"></td>
<td class="GWDX{$num}_D amount ha"><input name="WDX{$num}_D" class="ba" /></td>
<th class="GHDS{$num}_D name" id="t_HDS{$num}_D" title="第{$num}球 合数单"><input type="hidden" id="k_HDS{$num}_D" value="HDS" />合数单</th>

<td class="GHDS{$num}_D odds" id="o_HDS{$num}_D"></td>
<td class="GHDS{$num}_D amount ha"><input name="HDS{$num}_D" class="ba" /></td>
</tr>
<tr>
<th class="GDX{$num}_X name" id="t_DX{$num}_X" title="第{$num}球 小"><input type="hidden" id="k_DX{$num}_X" value="DX" />小</th>

<td class="GDX{$num}_X odds" id="o_DX{$num}_X"></td>
<td class="GDX{$num}_X amount ha"><input name="DX{$num}_X" class="ba" /></td>
<th class="GDS{$num}_S name" id="t_DS{$num}_S" title="第{$num}球 双"><input type="hidden" id="k_DS{$num}_S" value="DS" />双</th>

<td class="GDS{$num}_S odds" id="o_DS{$num}_S"></td>
<td class="GDS{$num}_S amount ha"><input name="DS{$num}_S" class="ba" /></td>
<th class="GWDX{$num}_X name" id="t_WDX{$num}_X" title="第{$num}球 尾小"><input type="hidden" id="k_WDX{$num}_X" value="WDX" />尾小</th>

<td class="GWDX{$num}_X odds" id="o_WDX{$num}_X"></td>
<td class="GWDX{$num}_X amount ha"><input name="WDX{$num}_X" class="ba" /></td>
<th class="GHDS{$num}_S name" id="t_HDS{$num}_S" title="第{$num}球 合数双"><input type="hidden" id="k_HDS{$num}_S" value="HDS" />合数双</th>

<td class="GHDS{$num}_S odds" id="o_HDS{$num}_S"></td>
<td class="GHDS{$num}_S amount ha"><input name="HDS{$num}_S" class="ba" /></td>
</tr>
<tr>
<th class="GFW{$num}_0 name" id="t_FW{$num}_0" title="第{$num}球 东"><input type="hidden" id="k_FW{$num}_0" value="FW" />东</th>

<td class="GFW{$num}_0 odds" id="o_FW{$num}_0"></td>
<td class="GFW{$num}_0 amount ha"><input name="FW{$num}_0" class="ba" /></td>
<th class="GFW{$num}_1 name" id="t_FW{$num}_1" title="第{$num}球 南"><input type="hidden" id="k_FW{$num}_1" value="FW" />南</th>

<td class="GFW{$num}_1 odds" id="o_FW{$num}_1"></td>
<td class="GFW{$num}_1 amount ha"><input name="FW{$num}_1" class="ba" /></td>
<th class="GFW{$num}_2 name" id="t_FW{$num}_2" title="第{$num}球 西"><input type="hidden" id="k_FW{$num}_2" value="FW" />西</th>

<td class="GFW{$num}_2 odds" id="o_FW{$num}_2"></td>
<td class="GFW{$num}_2 amount ha"><input name="FW{$num}_2" class="ba" /></td>
<th class="GFW{$num}_3 name" id="t_FW{$num}_3" title="第{$num}球 北"><input type="hidden" id="k_FW{$num}_3" value="FW" />北</th>

<td class="GFW{$num}_3 odds" id="o_FW{$num}_3"></td>
<td class="GFW{$num}_3 amount ha"><input name="FW{$num}_3" class="ba" /></td>
</tr>
<tr>
<th class="GZFB{$num}_0 name" id="t_ZFB{$num}_0" title="第{$num}球 中"><input type="hidden" id="k_ZFB{$num}_0" value="ZFB" />中</th>

<td class="GZFB{$num}_0 odds" id="o_ZFB{$num}_0"></td>
<td class="GZFB{$num}_0 amount ha"><input name="ZFB{$num}_0" class="ba" /></td>
<th class="GZFB{$num}_1 name" id="t_ZFB{$num}_1" title="第{$num}球 发"><input type="hidden" id="k_ZFB{$num}_1" value="ZFB" />发</th>

<td class="GZFB{$num}_1 odds" id="o_ZFB{$num}_1"></td>
<td class="GZFB{$num}_1 amount ha"><input name="ZFB{$num}_1" class="ba" /></td>
<th class="GZFB{$num}_2 name" id="t_ZFB{$num}_2" title="第{$num}球 白"><input type="hidden" id="k_ZFB{$num}_2" value="ZFB" />白</th>

<td class="GZFB{$num}_2 odds" id="o_ZFB{$num}_2"></td>
<td class="GZFB{$num}_2 amount ha"><input name="ZFB{$num}_2" class="ba" /></td>
<th id="e_EP0" class="GEP0 name empty"></th><td class="GEP0 odds empty"></td><td class="GEP0 amount ha"></td>
</tr>
<if condition="$num lt 5">
<tr>
<th class="GLH{$num}_L name" id="t_LH{$num}_L" title="第{$num}球 龙"><input type="hidden" id="k_LH{$num}_L" value="LH" />龙</th>

<td class="GLH{$num}_L odds" id="o_LH{$num}_L"></td>
<td class="GLH{$num}_L amount ha"><input name="LH{$num}_L" class="ba" /></td>
<th class="GLH{$num}_H name" id="t_LH{$num}_H" title="第{$num}球 虎"><input type="hidden" id="k_LH{$num}_H" value="LH" />虎</th>

<td class="GLH{$num}_H odds" id="o_LH{$num}_H"></td>
<td class="GLH{$num}_H amount ha"><input name="LH{$num}_H" class="ba" /></td>
<th id="e_EP1" class="GEP1 name empty"></th><td class="GEP1 odds empty"></td><td class="GEP1 amount ha"></td>
<th id="e_EP2" class="GEP2 name empty"></th><td class="GEP2 odds empty"></td><td class="GEP2 amount ha"></td>
</tr>
</if>
</table></div>
<div class="control bcontrol">
<div class="lefts" style="display:none">已经选中 <span id="betcount"></span> 注</div>
<div class="buttons">
<!--<input type="button" class="view_lottery" onclick="showResult()" id="add-key4" data-title="&nbsp;" value="查看开奖">-->
<input type="button" class="button2" value="快选金额" onclick="parent.showsetting()" />
<label class="checkdefault"><input type="checkbox" class="checkbox"/><span class="color_lv bold">预设</span></label>&nbsp;&nbsp;<label class="quickAmount"><span class="color_lv bold">金额</span> <input /></label>
<input type="button" class="button" value="确定" onclick="bet()" /><input type="button" class="button" value="重置" onclick="resetBets()" />
</div>
</div>
</div>
<table id="changlong"><thead><tr><th colspan="2" class="table_side">两面长龙排行</th></tr></thead><tbody> </tbody></table>
</body>
</html>